package com.eshop.modules.order.service.dto;

import java.io.Serializable;

public class StatusDto implements Serializable
{
    private String classfy;
    private String msg;
    private String payType;
    private String title;
    private String type;
    
    public String getClassfy() {
        return this.classfy;
    }
    
    public String getMsg() {
        return this.msg;
    }
    
    public String getPayType() {
        return this.payType;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public String getType() {
        return this.type;
    }
    
    public void setClassfy(final String classfy) {
        this.classfy = classfy;
    }
    
    public void setMsg(final String msg) {
        this.msg = msg;
    }
    
    public void setPayType(final String payType) {
        this.payType = payType;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StatusDto)) {
            return false;
        }
        final StatusDto other = (StatusDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$classfy = this.getClassfy();
        final Object other$classfy = other.getClassfy();
        Label_0065: {
            if (this$classfy == null) {
                if (other$classfy == null) {
                    break Label_0065;
                }
            }
            else if (this$classfy.equals(other$classfy)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$msg = this.getMsg();
        final Object other$msg = other.getMsg();
        Label_0102: {
            if (this$msg == null) {
                if (other$msg == null) {
                    break Label_0102;
                }
            }
            else if (this$msg.equals(other$msg)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$payType = this.getPayType();
        final Object other$payType = other.getPayType();
        Label_0139: {
            if (this$payType == null) {
                if (other$payType == null) {
                    break Label_0139;
                }
            }
            else if (this$payType.equals(other$payType)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0176: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0176;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        if (this$type == null) {
            if (other$type == null) {
                return true;
            }
        }
        else if (this$type.equals(other$type)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StatusDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $classfy = this.getClassfy();
        result = result * 59 + (($classfy == null) ? 43 : $classfy.hashCode());
        final Object $msg = this.getMsg();
        result = result * 59 + (($msg == null) ? 43 : $msg.hashCode());
        final Object $payType = this.getPayType();
        result = result * 59 + (($payType == null) ? 43 : $payType.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StatusDto(classfy=" + this.getClassfy() + ", msg=" + this.getMsg() + ", payType=" + this.getPayType() + ", title=" + this.getTitle() + ", type=" + this.getType() + ")";
    }
}
